import pygame
from pygame.locals import *
from sys import exit
from pygame.locals import *
import pygame, pygame.font, pygame.event, pygame.draw, string
from pygame.locals import *

import sys


class Enter:


    def exibirTela(self):
        pygame.init()
        self.screen = pygame.display.set_mode((800, 600))
        
        
        a = 1
        while a: 
            for event in pygame.event.get():
                if event.type == QUIT:
                    exit()
                if event.type == KEYDOWN:
                    if event.key == K_RETURN:
                        a = 0
##                    elif event.type ==  K_RETURN:
##                        return True
                        
                 

            self.screen = pygame.display.set_mode((800, 600))
            imagemFundo = "entrada_game.jpg"
            imagemBackground = pygame.image.load(imagemFundo).convert()
            self.screen.blit(imagemBackground, (0, 0))
            pygame.display.flip()            
        
    

